#include "CTriangle.h"
#include <iostream>

void CTriangle::draw() {
    for (int i = 1; i <= height; i++) {
        for (int j = 0; j < i; j++) {
            std::cout << "*";
        }
        std::cout << std::endl;
    }
}
